//
// Created by 💎 Rick.li on 2024/8/5.
//
#include <iostream>

class Color {
public:
    static const std::string RED;
    static const std::string GREEN;
    static const std::string BLUE;
    static const std::string RESET;

    static void print(const std::string &text, const std::string &color) {
        std::cout << color << text << RESET << std::endl;
    }
};


const std::string Color::RED = "\033[31m";
const std::string Color::GREEN = "\033[32m";
const std::string Color::BLUE = "\033[34m";
const std::string Color::RESET = "\033[0m";